<template>
  <div class="homeswiper">
    <swiper :options="swiperOption">
      <swiper-slide>
        <img src="http://img.zhichiwangluo.com/zcimgdir/album/file_5b5550555f94b.png" />
      </swiper-slide>
      <swiper-slide>
        <img src="http://img.zhichiwangluo.com/zcimgdir/album/file_5b5550539b08d.png" />
      </swiper-slide>
      <swiper-slide>
        <img src="http://img.zhichiwangluo.com/zcimgdir/album/file_5b55505218e88.png" />
      </swiper-slide>
      <div class="swiper-pagination" slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
export default {
  data () {
    return {
      swiperOption: {
        pagination: {
          el: '.swiper-pagination'
        },
        autoplay: {
          delay: 2000,
          disableOnInteraction: false
        },
        loop: true
      }
    }
  }
}
</script>

<style lang="stylus" scoped="scoped">
  .homeswiper
    width 100%
    height 0
    padding-bottom 50.75%
    img
      width 100%
  .homeswiper >>> .swiper-pagination-bullet
    background white
</style>
